{php include wl_template('common/header');}
<div class="page-group">
    <div class="page page-current" id="page-member">
    	<header class="bar bar-nav">
		    <h1 class="title">支付结果</h1>
		</header>
		<div class="content" style="background-color: #fff;">
			<div class="payicons">
				<div class="bd spacing">
				    {if empty($errno)}<i class="weui_icon_msg weui_icon_success"></i>{/if}
				    {if $errno==2}<i class="weui_icon_msg weui_icon_warn"></i>{/if}
				</div>
			</div>
			<div class="paysucces_text">
					{if empty($errno)}{if empty($order['master_orderno'])}购买{else}补款{/if}成功{/if}
				    {if $errno==2}抱歉,该团已满,稍后将全款退还{/if}
			</div>
			<div class="paysucces_price">{$order['pay_price']}元</div>
			<div class="list-block">
		      <ul>
		      	{if !empty($order['discount_fee'])}
		        <li class="item-content">
		          <div class="item-media"><i class="icon icon-f7"></i></div>
		          <div class="item-inner">
		            <div class="item-title payredcolor">优惠券折扣</div>
		            <div class="payredcolor item-after">{$order['discount_fee']}</div>
		          </div>
		        </li>
		        {/if}
		        {if !empty($order['first_fee'])}
		        <li class="item-content">
		          <div class="item-media"><i class="icon icon-f7"></i></div>
		          <div class="item-inner">
		            <div class="item-title">团长优惠</div>
		            <div class="payredcolor item-after">{$order['first_fee']}</div>
		          </div>
		        </li>
		        {/if}
		        {if !empty($order['credits'])}
		        <li class="item-content">
		          <div class="item-media"><i class="icon icon-f7"></i></div>
		          <div class="item-inner">
		            <div class="item-title">积分奖励</div>
		            <div class="payredcolor item-after">{$order['credits']}</div>
		          </div>
		        </li>
		        {/if}
		      </ul>
		    </div>
		    <div class="content-block">
		      <div class="row">
		        <div class="col-100"><a href="{php echo app_url('goods/list')}" class="weui_btn weui_btn_warn">确定</a></div>
		        </div>
		    </div>
		</div>
	</div>
</div>
{php include wl_template('common/footer');}